package com.baizhi.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("SMS")
public interface SmsFeign {
    @PostMapping("/captchas")
    void sendLoginMessage(@RequestParam("phone") String phone);

}
